package com.beiing.tianshuai.tianshuai.entity;

import com.google.gson.annotations.SerializedName;

import java.util.List;

/**
 * Created by Jinda Yang on 2017/12/8.
 * Description : 全局搜索接口
 */

public class IndexSearchListBean extends BaseBean {

    /**
     * code : 200
     * data : {"result":[{"id":"256","strech":"拍个视频就可能获得10万！张艺兴放大招，挖掘优秀舞者","title":"拍个视频就可能获得10万！张艺兴放大招，挖掘优秀舞者","is_type":"活动","is_num":"2"},{"id":"257","strech":"中国第一女Rapper\u2014\u2014VaVa《21》Tour 2017中国巡演火爆开启","title":"中国第一女Rapper\u2014\u2014VaVa《21》Tour 2017中国巡演火爆开启","is_type":"活动","is_num":"2"},{"id":"259","strech":"2017刘瑞琦\u201c温暖的房间\u201d全国巡演势不可挡","title":"2017刘瑞琦\u201c温暖的房间\u201d全国巡演势不可挡","is_type":"活动","is_num":"2"},{"id":"149","strech":"2016山谷民谣音乐节","title":"2016山谷民谣音乐节","is_type":"活动","is_num":"2"},{"id":"236","strech":"赢10万现金大奖！vivo最强王者嘉年华邀你开战","title":"赢10万现金大奖！vivo最强王者嘉年华邀你开战","is_type":"活动","is_num":"2"},{"id":"278","strech":"15家品牌密室联手打造 | 超越欧美【新剧本式！派对游戏】~万圣节一起\u201c暴力玩耍\u201d！","title":"15家品牌密室联手打造 | 超越欧美【新剧本式！派对游戏】~万圣节一起\u201c暴力玩耍\u201d！","is_type":"活动","is_num":"2"},{"id":"315","strech":"TGC2017即将启幕\u2014\u2014十周年\u201c这一次，玩很大\u201d！","title":"TGC2017即将启幕\u2014\u2014十周年\u201c这一次，玩很大\u201d！","is_type":"活动","is_num":"2"},{"id":"318","strech":"\u201cBE YOUTH\u201d2017流行音乐季，惊喜来袭！","title":"\u201cBE YOUTH\u201d2017流行音乐季，惊喜来袭！","is_type":"活动","is_num":"2"},{"id":"348","strech":"WE爱 | 2018牵着TA一起去做点浪漫的事吧","title":"WE爱 | 2018牵着TA一起去做点浪漫的事吧","is_type":"活动","is_num":"2"},{"id":"335","strech":"《霓NEED》  阿悄2017全国巡回演唱会","title":"《霓NEED》  阿悄2017全国巡回演唱会","is_type":"活动","is_num":"2"},{"id":"352","strech":"1月6号我们一起去草莓音乐节搞月核探险吧！","title":"1月6号我们一起去草莓音乐节搞月核探险吧！","is_type":"活动","is_num":"2"},{"id":"387","strech":"2018国际超模主播大赛重磅来袭！！","title":"2018国际超模主播大赛重磅来袭！！","is_type":"活动","is_num":"2"}]}
     */

    @SerializedName("code")
    private int code;
    @SerializedName("data")
    private DataBean data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public static class DataBean {
        @SerializedName("result")
        private List<ResultBean> result;

        public List<ResultBean> getResult() {
            return result;
        }

        public void setResult(List<ResultBean> result) {
            this.result = result;
        }

        public static class ResultBean {
            /**
             * id : 256
             * strech : 拍个视频就可能获得10万！张艺兴放大招，挖掘优秀舞者
             * title : 拍个视频就可能获得10万！张艺兴放大招，挖掘优秀舞者
             * is_type : 活动
             * is_num : 2
             */

            @SerializedName("id")
            private String id;
            @SerializedName("title")
            private String title;
            @SerializedName("is_type")
            private String isType;
            @SerializedName("is_num")
            private String isNum;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }

            public String getIsType() {
                return isType;
            }

            public void setIsType(String isType) {
                this.isType = isType;
            }

            public String getIsNum() {
                return isNum;
            }

            public void setIsNum(String isNum) {
                this.isNum = isNum;
            }
        }
    }
}
